package com.example.gzysmartcity.ui.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.example.gzysmartcity.R;
import com.example.gzysmartcity.repository.model.SearchList;

import org.jetbrains.annotations.NotNull;

public class SearchListRvAdapter extends BaseQuickAdapter<SearchList, BaseViewHolder> {
    public SearchListRvAdapter() {
        super(R.layout.rv_item_search);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, SearchList searchList) {
        baseViewHolder.setText(R.id.tvRvItemSearch, searchList.getSearch());
    }
}
